package com.test.ml.yqs.job;

import com.test.ml.yqs.service.BigLongPlan;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.ComponentScan;

import java.io.Serializable;

/**
 * @author 马亮
 * @version V1.0
 * @Description: 长龙计划
 */
@ComponentScan
public class BigLongPlanJob implements Job,Serializable {

    @Autowired
    private BigLongPlan bigLongPlan;
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        bigLongPlan.StartGame(1);

    }
}